package com.ruoyi.ade.llm.model;

import java.util.List;

public class OpenAiChatResponse {

    private String id;

    private String model;

    private List<Choice> choices;

    public static class Choice{

        private int index;
        private ChatRequest.Message message;

        public int getIndex() {
            return index;
        }

        public void setIndex(int index) {
            this.index = index;
        }

        public ChatRequest.Message getMessage() {
            return message;
        }

        public void setMessage(ChatRequest.Message message) {
            this.message = message;
        }
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public List<Choice> getChoices() {
        return choices;
    }

    public void setChoices(List<Choice> choices) {
        this.choices = choices;
    }
}
